class AdminMut extends Mutator
	config(UnitedMut);

var config array<string> AdminIDs;
//------------------------------------------------------------------------------------------------------------
function PostBeginPlay()
{
	SaveConfig();
}
//------------------------------------------------------------------------------------------------------------
function bool isAdmin(string Hash)
{
	local int i;
	for (i=0; i<AdminIDs.Length; i++)
	{
		if (Hash==AdminIds[i])
			return true;
	}
	return false;
}
//------------------------------------------------------------------------------------------------------------
function bool KillZeds(KFPlayerController PC)
{
	if (isAdmin(PC.GetPlayerIDHash()))
	{
		KFGameType(Level.Game).KillZeds();
		return true;
	}
	else
		return false;
}
//------------------------------------------------------------------------------------------------------------
defaultproperties
{
	AdminIDs(0)="76561200304816588"
}